package com.allen.imsystem.user.mappers;

import com.allen.imsystem.user.model.param.EditUserInfoParam;
import com.allen.imsystem.user.model.vo.UserInfoView;
import com.allen.imsystem.user.model.pojo.User;
import com.allen.imsystem.user.model.pojo.UserInfo;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.Date;
import java.util.List;

@Repository
@Mapper
public interface UserMapper extends BaseMapper<User> {

    Integer updateLoginRecord(@Param("uid") String uid, @Param("loginTime") Date loginTime);

    Integer insertLoginRecord(@Param("uid") String uid, @Param("loginTime") Date loginTime);
}
